package com.train.classeval.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @description:
 * @program: classeval
 * @author: ChenQi
 * @create: 2021-10-2021/10/22-11-29
 */
@Data
@TableName("t_course")
public class Course {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String courseName;
    private String teacherName;
    private String faculty;

    private String description;
    //评价状态
    private String comStatus;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    @TableField("course_status")
    private Integer status;
}
